#include "vgameengine.h"
#include "vdx12rhi.h"
#include "Core/vcoreglobal.h"
#define WIN32_LEAN_AND_MEAN
#include <windows.h> // 用于GetClientRect

// 定义引擎日志类别
DEFINE_LOG_CATEGORY(LogEngine);

// 静态成员初始化
VGameEngine* VGameEngine::s_Instance = nullptr;

VGameEngine::VGameEngine(QObject *parent)
    : VGEngine(parent)
{
    VG_LOG(LogEngine, Log, "VGameEngine constructed");
}

VGameEngine::~VGameEngine()
{
}

VGameEngine* VGameEngine::Get()
{
    return s_Instance;
}

bool VGameEngine::PreInit()
{
    return true;
}

bool VGameEngine::Init()
{
    return true;
}

void VGameEngine::Start()
{
}

void VGameEngine::Tick()
{

}

void VGameEngine::PreExit()
{
}
